package com.bawei.exam57.utils

import com.bawei.exam57.entity.GoodEntity
import com.bawei.exam57.entity.HomeEntity
import retrofit2.http.GET
import retrofit2.http.Query

interface ApiServce {
    @GET("/api/front/index")
    suspend fun getHome(): HomeEntity

    @GET("/api/front/products")
    suspend fun getGood(@Query("limit")limit:Int,@Query("page")page:Int): GoodEntity
}